/*-----------------------------------------------------------------
   Project    : com.wsc.playground.j2ee.brasil.superBolsa
   Package    : com.wsc.playground.j2ee.brasil.superbolsa.model.service.impl
   File name  : IndicesServiceImpl.java
   Author     : wsc1                             Date: May 1, 2008
   Description:    
   Notes:   
   Revision History:
   Name:           Date:        Description:
  -----------------------------------------------------------------*/
package com.wsc.playground.j2ee.brasil.superbolsa.model.service.impl;

import java.util.ArrayList;

import com.wsc.playground.j2ee.brasil.superbolsa.bean.IndicesBean;
import com.wsc.playground.j2ee.brasil.superbolsa.model.dao.IndiceDAO;
import com.wsc.playground.j2ee.brasil.superbolsa.model.service.IndicesService;

public class IndicesServiceImpl implements IndicesService {
    private IndiceDAO indiceDAO;

    public IndicesServiceImpl(IndiceDAO indiceDAO) {
        super();
        this.indiceDAO = indiceDAO;
    }

    public void setIndiceDAO(IndiceDAO indiceDAO) {
        this.indiceDAO = indiceDAO;
    }

    public ArrayList<IndicesBean> getIndicesList() {
        return indiceDAO.getIndices();
    }

}
